﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BackofficeExtremeEvents.Data;
using extremeEvents;
using System.Data;

namespace BackofficeExtremeEvents.Eventos
{
    public partial class listarEventos : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
                       
        }

        protected void gvEventos_RowCommand(object sender, GridViewCommandEventArgs e)
        {
            Session["id_evento"] = gvEventos.DataKeys[int.Parse(e.CommandArgument.ToString())].Value;
            Response.Redirect("../Eventos/EditarEvento.aspx");
        }
    }
}